import { MovieItem } from './MovieItem'
import { HashMap } from '@kit.ArkTS'

export class MovieData{
  chiefBonus:HashMap<string,string>
  hot:Array<MovieItem>
  total:number

  constructor(data:{chiefBonus: HashMap<string, string>, hot: Array<MovieItem>, total: number}) {
    this.chiefBonus = data.chiefBonus
    this.hot = data.hot
    this.total = data.total
  }

}